From e8d6dde8304c83ec5d095bca9bd1f51f09dc8aab Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 29 Mar 2004 02:24:50 +0000 Subject: [PATCH] (setwins, setwins_almost): Change directory to $wd before finding directories by `find'. --- lisp/Makefile.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/Makefile.in b/lisp/Makefile.in index e1c6b779db2..9efd587a199 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in @@ -136,17 +136,17 @@ emacs = EMACSLOADPATH=$(lisp) $(EMACS) $(EMACSOPT) # Common command to find subdirectories -setwins=subdirs=`find $$wd -type d -print`; \ +setwins=subdirs=`(cd $$wd; find . -type d -print)`; \ for file in $$subdirs; do \ case $$file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* ) ;; \ - *) wins="$$wins $$file" ;; \ + *) wins="$$wins $$wd/$$file" ;; \ esac; \ done -setwins_almost=subdirs=`find $$wd -type d -print`; \ +setwins_almost=subdirs=`(cd $$wd; find . -type d -print)`; \ for file in $$subdirs; do \ case $$file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* | */obsolete | */term ) ;; \ - *) wins="$$wins $$file" ;; \ + *) wins="$$wins $$wd/$$file" ;; \ esac; \ done -- 2.30.2